﻿namespace newHomework02
{
    internal class Program
    {/// <summary>
    /// 在指定位置建立一个文件hello.txt,写入当前时间并保存
    /// </summary>
    /// <param name="args"></param>
        static void Main(string[] args)
        {
            string filePath = @"E:\Home\hello.txt";
            File.WriteAllText(filePath, DateTime.Now.ToString());
        }
    }
}
